<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>{block name="title"}后台管理{/block}</title>
  <link rel="stylesheet" href="__adminstatic__/layui/css/index.css">
  <link rel="stylesheet" href="__adminstatic__/layui/css/layui.css">
  {block name="csssrc"}{/block}
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo"><i class="layui-icon layui-icon-set-fill"></i>网站后台管理</div>
    <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
      <li class="layui-nav-item"><a href="{:URL('user/index')}">控制台首页</a></li>
      <li class="layui-nav-item"><a href="{:URL('index')}">网站首页</a></li>
      </li>
    </ul>
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item">
        <a href="javascript:;">
          <img src="__indexstatic__/images/face.png" class="layui-nav-img">
          {$nickname}
        </a>
        <dl class="layui-nav-child">
          <dd><a href="{:URL('User/userset')}">个人设置</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item"><a href="{:URL('User/userexit')}">注销</a></li>
    </ul>
  </div>
  
  <div class="layui-side layui-bg-black qqadmin">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree"  lay-filter="test">
        <li class="layui-nav-item">
          <a href="javascript:;">网站管理</a>
          <dl class="layui-nav-child">
            <dd><a href="{:URL('Systemset/index')}">网站设置</a></dd>
            <dd><a href="{:URL('Systemset/nav')}">导航设置</a></dd>
            <dd><a href="{:URL('Link/index')}">友情链接</a></dd>
          </dl>
        </li>
          <li class="layui-nav-item">
          <a href="javascript:;">文章管理</a>
          <dl class="layui-nav-child">
            <dd><a href="{:URL('Artice/articeadd')}">添加文章</a></dd>
            <dd><a href="{:URL('Artice/index')}">文章管理</a></dd>
            <dd><a href="{:URL('Comments/index')}">评论管理</a></dd>
            <dd><a href="{:URL('Artice/articeclass')}">分类管理</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item"><a href="{:URL('Twitters/index')}">微语管理</a></li>
        <li class="layui-nav-item"><a href="{:URL('User/userset')}">个人设置</a></li>
        <li class="layui-nav-item"><a href="{:URL('Page/index')}">独立页面</a></li>
      </ul>
    </div>
  </div>
  <div class="layui-body">
    <!-- 内容主体区域 -->
    {block name="content"}
    {/block}
  </div>
  
  <div class="layui-footer">
    <!-- 底部固定区域 -->
    © Xiele 2018
  </div>
</div>
<script src="__adminstatic__/layui/js/jquery.min.js"></script>
<script src="__adminstatic__/layui/layui.js"></script>
{block name="jssrc"}
{/block}
<script>
//JavaScript代码区域
layui.use('element', function(){
  var element = layui.element;
  
});
</script>
</body>
</html>